\documentclass{ctexart}
\usepackage[margin=2cm]{geometry}
\usepackage{tcolorbox,amssymb,cncolours,xpinyin,fontawesome5}
\usepackage{listings}
\usepackage{cnspecification}
\setCJKmonofont{Sarasa Mono T SC}
\setmonofont{Sarasa Mono T SC}
\tcbuselibrary{listings}
\newfontfamily\PinYinFont{TeX Gyre Adventor}
\xpinyinsetup{ratio=0.45,font=\PinYinFont}
\tcbuselibrary{minted,breakable,skins}
\tcbuselibrary{xparse}
\colorlet{cvprimary}{绀青}
\colorlet{cvsecondary}{cvprimary!10}
%--------------------------------------------------------
% tcolorbox 通用style设置
%   screen, cmdshell, cmdecho, codeexample, 
%   diaexample, codedescript
%--------------------------------------------------------
\tcbset{skin=enhanced,
    screen/.style={%
		colback=black!75!white,
		colframe=yellow!75!black,
		fontlower=\small\ttfamily,
		fontupper=\small\ttfamily,
		top=0mm,bottom=0mm,boxsep=0mm,
		listing engine=listings,
		listing only,
		listing options={language=bash},
	},
	cmdshell/.style={screen,
		colupper=white,
		every listing line={\textcolor{green}{\bfseries \$> }}
	},
	cmdecho/.style={screen,colupper=red},
	codeexample/.style={%
		breakable,
		fonttitle=\small\sffamily,
		colback=cvsecondary,
		colbacktitle=cvprimary,
		coltitle=white,
		colframe=cvprimary!50!black,
		sharp corners,
	},
    diaexample/.style={codeexample,
   	    overlay = {\node[inner sep=0pt, anchor=north east,yshift=-3pt,xshift=-11pt,text=white] at (frame.north east)	{\rule{0.8em}{0.6pt}\quad$\square$\quad{\Large$\times$}};
				\node[inner sep=0pt,anchor=north west,
				yshift=-3pt,xshift=3pt,text=white] at (frame.north west) {\faFileCode};}
    },
    codedescript/.style={
    	colback=cvprimary!20,
    	arc=2mm,
    	rounded corners=southeast,
    	arc is angular,
    	lifted shadow={1mm}{-2mm}{3mm}{0.1mm}{black!50!white}
    },
}
\DeclareTCBListing{Expbox}{ s O{} m }{%
	diaexample,
	#2,
	title={#3},
	IfBooleanTF={#1}{listing side text}{listing and text}}
	
\newtcblisting{commandshell}{cmdshell}
\pagestyle{empty}

\begin{document}
  
\begin{Expbox}{国家标准}
\GB{55001}\par  \GB*{50476}\par
\GB[J]{22}\par  \GB[Z]{26214}\par
\GB*{5768}\par  \GB*{5768}[7]\par
\end{Expbox}

\end{document}